import request from '@/utils/request'

const {
    get: $get,
    post: $post,
    delete: $delete,
    download: $download
} = request



// 查询公共诉求回访列表
export const publicAppealFollowPage = data => {
    return $get('/risk/publicAppealFollow/page', data)
}



// 查询
export const publicAppealFollowDetail = id => {
    return $get('/risk/publicAppeal/detail/'+ id)
}

// 更新
export const publicAppealFollowUpdate = data => {
    return $post('/risk/publicAppealFollow/update', data)
}

// 删除
export const publicAppealFollowDelete = id => {
    return $post('/risk/publicAppeal/delete/'+ id)
}


export const publicAppealFollowExport = (data,fileName) => {
    return $download('/risk/publicAppealFollow/export',data, fileName)
}
